<!-- TODO: 区别ngFor和angular1里的ng-repeat -->
<div class="col-sm-4 col-md-4 col-lg-4" *ngFor="let product of products">
    <div class="thumbnail">
        <img src="http://placehold.it/320x150" alt="商品图片">
        <div class="caption">
            <h4 class="pull-right">
                ￥{{product.price}}
            </h4>
            <h4>
                <a>
                    {{product.title}}
                </a>
            </h4>
            <p>
                {{product.desc}}
            </p>
        </div>
        <div>
            <app-stars [rating]="product.rating">
            </app-stars>
        </div>
    </div>
</div>